home *** CD-ROM | disk | FTP | other *** search
- import javax.microedition.lcdui.Display;
- import javax.microedition.lcdui.Image;
- import javax.microedition.midlet.MIDlet;
-
- public class Painter extends MIDlet {
- public Display display;
- public static int width;
- public static int height;
- public static int fontHeight;
- public static Image intro;
-
- public void destroyApp(boolean var1) {
- }
-
- public void exit() {
- this.destroyApp(false);
- ((MIDlet)this).notifyDestroyed();
- }
-
- private void loadImages() {
- try {
- intro = Image.createImage("/painter.png");
- } catch (Exception var2) {
- ((Throwable)var2).printStackTrace();
- }
-
- }
-
- public void pauseApp() {
- }
-
- public void startApp() {
- this.loadImages();
- Intro var1 = new Intro(this);
- this.display = Display.getDisplay(this);
- this.display.setCurrent(var1);
- }
- }
-